package com.ruoyi.industry.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.industry.domain.ProjectAuction;

import javax.servlet.http.HttpServletResponse;

/**
 * 项目-拍卖Service接口
 *
 * @author MagicCube
 * @date 2023-05-18
 */
public interface IProjectAuctionService
{
    /**
     * 查询项目-拍卖
     *
     * @param id 项目-拍卖主键
     * @return 项目-拍卖
     */
    public ProjectAuction selectProjectAuctionById(Long id);

    /**
     * 查询项目-拍卖列表
     *
     * @param projectAuction 项目-拍卖
     * @return 项目-拍卖集合
     */
    public List<ProjectAuction> selectProjectAuctionList(ProjectAuction projectAuction);

    /**
     * 新增项目-拍卖
     *
     * @param projectAuction 项目-拍卖
     * @return 结果
     */
    public int insertProjectAuction(ProjectAuction projectAuction);

    /**
     * 修改项目-拍卖
     *
     * @param projectAuction 项目-拍卖
     * @return 结果
     */
    public int updateProjectAuction(ProjectAuction projectAuction);

    /**
     * 批量删除项目-拍卖
     *
     * @param ids 需要删除的项目-拍卖主键集合
     * @return 结果
     */
    public int deleteProjectAuctionByIds(Long[] ids);

    /**
     * 删除项目-拍卖信息
     *
     * @param id 项目-拍卖主键
     * @return 结果
     */
    public int deleteProjectAuctionById(Long id);

    Map<String, Object> selectProjectAuctionByNumber(String spaceId, boolean show);

    int deleteProjectAuctionBySerialNumber(String spaceId);

    void exportEntrust(HttpServletResponse response, Long id);

    String importUser(List<ProjectAuction> projectAuctionList, boolean updateSupport, String operName);
}
